package zhihuilan.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class StaticFiledConfig {
    @Value("${staticFiled.defaultAvatar}")
    private String defaultAvatar;

    @Value("${staticFiled.shopUrl}")
    private String shopUrl;

    @Value("${staticFiled.factoryUrl}")
    private String factoryUrl;

    @Value("${ali.yun.accessKeyId}")
    private String accessKeyId;

    @Value("${ali.yun.accessKeySecret}")
    private String accessKeySecret;

    @Value("${ali.yun.ramRoleArn}")
    private String ramRoleArn;

    @Value("${ali.yun.apiKey}")
    private String apiKey;

    public String getDefaultAvatar() {
        return defaultAvatar;
    }

    public String getShopUrl() {
        return shopUrl;
    }

    public String getFactoryUrl() {
        return factoryUrl;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public String getRamRoleArn(){return ramRoleArn;}

    public String getApiKey(){return apiKey;}
}
